:root {
    --primary-color: #36AD49;
    --secondary-color: #ffffff;
    --accent-color: #36AD49; 
    --text-dark: #333333;
    --text-light: #555555;
    --bg-light: #f4f7f6;
    --white: #ffffff;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
	font-family: Text Me One, serif;
   
}

.textmeone-font {
  font-family: Text Me One, serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
html {
    scroll-behavior: smooth;
}
.services-minimal {
    padding: 80px 20px;
    background-color: #ffffff; 
    font-family: sans-serif;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Intestazione della sezione */
.services-header {
    text-align: center;
    margin-bottom: 50px;
}

.services-header h2 {
    font-size: 32px;
    color: black; 
    margin-bottom: 10px;
}

.services-header p {
    font-size: 16px;
    color: #666666;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px; 
}

.service-card {
    background: #f8f9fa; 
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid #eaeaea;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 86, 179, 0.08);
    
}

.service-icon {
    font-size: 35px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    color: #333333;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-link {
    font-size: 14px;
    color: black;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s;
}

.service-card:hover .service-link {
    color: #36AD49;
}

@media (max-width: 900px) {
    .services-minimal {
        padding: 50px 20px;
    }
    
    .services-header h2 {
        font-size: 26px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
}
.what-we-offer {
    padding: 90px 20px;
    background-color: #ffffff;
    font-family: sans-serif;
    text-align: center;
}

.offer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.offer-header {
    max-width: 900px;
    margin: 0 auto 50px auto;
}

.offer-header h2 {
    font-size: 38px;
    color: #1e293b; 
    font-weight: 700;
    margin-bottom: 20px;
}

.offer-intro {
    font-size: 16px;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 30px;
}

.header-line {
    width: 50px;
    height: 3px;
    background-color: #36AD49; 
    margin: 0 auto;
    border-radius: 2px;
}

.offer-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.tab-pill {
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid #e2e8f0;
    color: #64748b;
    border-radius: 50px; 
    background-color: #ffffff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-pill:hover {
    border-color: #36AD49;
    color: #36AD49;
}

.tab-pill.active {
    background-color: #36AD49;
    color: #ffffff;
    border-color: #36AD49;
    box-shadow: 0 4px 12px rgba(54, 173, 73, 0.2);
}

.offer-grid-content {
    display: none; 
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px 30px;
    animation: fadeIn 0.4s ease; 
}

.offer-grid-content.active {
    display: flex; 
}

.offer-item {
    flex: 0 1 calc(33.333% - 20px);
    min-width: 290px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.offer-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin-bottom: 22px;
    border-radius: 16px; 
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.offer-item:hover .offer-image img {
    transform: scale(1.06);
}

.offer-item h3 {
    font-size: 19px;
    color: #0f172a;
    margin-bottom: 12px;
    font-weight: 600;
}

.item-accent-line {
    width: 35px;
    height: 3px;
    background-color: #36AD49; 
    margin-bottom: 15px;
    border-radius: 2px;
}

.offer-item p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 992px) {
    .offer-item {
        flex: 0 1 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .offer-tabs {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .tab-pill {
        width: 100%;
        max-width: 340px;
    }

    .offer-item {
        flex: 0 1 100%;
        max-width: 100%;
    }
}